package com.woniuxy.hrp.security;//package com.woniuxy.hrp.security;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "jwt") //找yml文件中的jwt 将内部定义的属性注入该类同名属性
public class JwtProperties {
    private String secret;
    private  int expireSencond;
}
